package edu.jd.movieplatform.admin.a_feedback.dao;

import edu.jd.movieplatform.admin.a_feedback.a_Feedback;
import edu.jd.movieplatform.admin.a_feedback.a_FeedbackDto;
import org.apache.ibatis.annotations.Update;

import java.util.List;

public interface a_FeedbackDao {

    List<a_Feedback> finda_FeedbackList(a_FeedbackDto dto);

    @Update("update customer_feedback set feedback_reply=#{feedback_reply},feedback_state=#{feedback_state},platform_manager_username=#{platform_manager_username} where feedback_num=#{feedback_num}")
    void updateFeedback(a_FeedbackDto dto);
}
